#!/bin/bash
#install build depend software
. /opt/hygon/common.sh

os_release=$(eval get_os_release)
case $os_release in
     "anolis")
             ;;
     "centos")
		source /opt/rh/devtoolset-8/enable
             ;;
     "ubuntu")
             ;;
     esac

./configure --target-list=x86_64-softmmu --enable-kvm --enable-virtfs  --enable-cmd-batch --prefix=/usr --sysconfdir=/etc --localstatedir=/var
make -j$(getconf _NPROCESSORS_ONLN)
make install
